import 'package:furaha_mkopo/net/fm_base_net_domain.dart';
import 'package:furaha_mkopo/net/fm_http_request.dart';
import 'package:furaha_mkopo/net/fm_net_param_manager.dart';

class FMHomeOughtApi extends FMBaseNetDomain {
  String adopt;
  String attitude;
  String affair;
  String projects;

  FMHomeOughtApi(this.adopt, this.attitude, this.affair, this.projects);

  @override
  String requestUrl() {
    return FMNetParamManager().getDefaultUrlPath("/directs/ought");
  }

  @override
  FMHttpMethodType methodType() {
    return FMHttpMethodType.post;
  }

  @override
  Map<String, dynamic> requestParams() {
    return {
      "adopt": adopt,
      "attitude": attitude,
      "affair": affair,
      "projects": projects,
    };
  }
}
